
var app = getApp()
Page({
  data: {
    aboutCont: {}
  },
  onLoad: function (options) {
    var that = this
    this.getAboutData()
  },
  getAboutData: function () {
    var that = this
    wx.request({
      url:  `${app.globalData.testApiUrl}/api/wx/base/getAboutUs`,
      success: (res) => {
        console.log(res.data)
        that.setData({
          aboutCont: res.data
        })
      },
      fail: (error) => {
        console.log('接口调用失败', error)
      },
      complete: function (e) {
        app.errorDate.backData = e.data
        app.errorDate.statusCode = e.statusCode
        app.errorDate.route = 'aboutUs'
        app.errorDate.interface = '/api/wx/base/getAboutUs'
        app.setLogCloud()
      }
    })
  }
})